package com.senlingspace.system.domain.vo;

import com.senlingspace.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;

/**
 * 到付商品订单列表
 *
 * @author lebronjames
 * @date 2024/10/17
 */
@Data
public class PaymentUponReceiptDTO implements Serializable {

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 门店id
     */
    private Long shopId;

    /**
     * 门店名称
     */
    @Excel(name = "门店名称")
    private String shopName;

    /**
     * 订单来源
     */
    @Excel(name = "订单来源", readConverterExp = "10=门店,20=抖音,30=美团,40=小程序")
    private Integer source;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String orderNumber;

    /**
     * 客户手机号
     */
    @Excel(name = "客户手机号")
    private String customerPhone;

    /**
     * 订单状态
     */
    @Excel(name = "订单状态", readConverterExp = "PENDING_PAYMENT=待支付,COMPLETED=已完成,WAITING_FOR_PICKUP=待取货,WAITING_FOR_SHIPPING=待发货,SHIPPED=已发货,订单取消=订单取消,REFUNDED=已退款")
    private String orderStatus;

    /**
     * 下单时间
     */
    @Excel(name = "下单时间", width = 30)
    private String createTime;

    /**
     * 购买数量
     */
    @Excel(name = "商品数量")
    private Integer buyQuantity;

    /**
     * 订单金额
     */
    @Excel(name = "订单金额")
    private String totalAmount;

    /**
     * 快递单号
     */
    @Excel(name = "快递单号")
    private String expressNumber;

    /**
     * 发票状态
     */
    @Excel(name = "发票状态")
    private String invoiceStatus;

}
